<html>
<head>
    <meta charset="UTF-8"/>
    <title>网上支付商户模拟器</title>
    <link type="text/css" rel="stylesheet" href="/css/demo.css"/>
    <script language="JavaScript"  src="/js/jquery-1.12.0.min.js"></script>
    <script language="JavaScript"  src="/js/jquery.qrcode.min.js"></script>
    <script language="JavaScript"  src="/js/pay.js"></script>
</head>
<body bgcolor="#CCCCCC">

<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <form action="" method="post" name="MD5form3" id="MD5form3" ></form>
        <form action="" method="post" name="MD5form2" id="MD5form2" target="_blank"></form>
        <td><form action="" method="post" name="payForm" id="payForm" target="_blank">
            <table width="80%" border="1" align="center" cellpadding="0" cellspacing="0" bordercolor="#000000">
                <tr>
                    <td height="49"> <div align="center"><span class="bigFont">聚合支付模拟程序</span></div></td>
                </tr>
                <tr>
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">
                        <table width="80%" border="0" align="center" cellpadding="0" cellspacing="0">
                            <tr>
                                <td height="20">商户号</td>
                                <td height="20">
                                    <input name="cpCode" class="text1" value="yiyun"/>
                                </td>
                            </tr>
                            <tr>
                                <td height="20">签名密钥</td>
                                <td height="20">
                                    <input name="signKey" class="text1" value="123456"/>
                                </td>
                            </tr>
                            <tr>
                                <td height="20">APPID</td>
                                <td height="20">
                                    <input name="appid" class="text1" value="1805161648277001"/>
                                </td>
                            </tr>
                            <tr>
                                <td height="20">商户订单号</td>
                                <td height="20">
                                    <input name="cpTranNo" class="text1"/>
                                </td>
                            </tr>
                            <tr>
                                <td height="20">支付金额(单位分)</td>
                                <td height="20">
                                    <input name="tranMoney" class="text1" value="1"/>
                                </td>
                            </tr>
                            <tr>
                                <td height="20">后台回调地址</td>
                                <td height="20">
                                    <input name="notifyUrl" class="text1"/>
                                </td>
                            </tr>
                            <tr>
                                <td height="20">页面回调地址</td>
                                <td height="20">
                                    <input name="returnUrl" class="text1"/>
                                </td>
                            </tr>
                            <tr>
                                <td height="20">聚合支付地址【URL】</td>
                                <td height="20">
                                    <select name="url">
                                        <option value='https://unifiedpay.lsmart.wang' selected='selected'>测试环境(https://unifiedpay.lsmart.wang)</option>
                                        <option value='https://paygray.xiaofubao.com'>灰度环境(https://paygray.xiaofubao.com)</option>
                                        <option value='https://pay.xiaofubao.com'>正式环境(https://pay.xiaofubao.com)</option>
                                    </select>
                                </td>
                            </tr>
                            <tr>
                                <td height="40" colspan="2">
                                    <div align="center">
                                        <input name="sendB" type="button" id="sendB" onClick="doPay()" value="   发送请求   "/>
                                    </div>
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
        </form></td>
    </tr>
</table>
<div class="qr-code" style="display: none;">
    <div id="qrcode">
    </div>
    <div class="qrcode-tip">
        <div class="qrcode-tip-content">
            使用浏览器扫一扫功能，扫码进行支付
        </div>
    </div>
</div>
</body>
</html>